<template>
  <div class="editors">
    <script ref="ueditorElem"
            id="editor"
            type="text/plain">

    </script>
  </div>
</template>
<script>
// import '../../../static/ueditor/ueditor.parse'
import '../../../static/ueditor/ueditor.config'
import '../../../static/ueditor/ueditor.all'
import '../../../static/ueditor/lang/zh-cn/zh-cn'
export default {
  name: 'ueditor',
  data () {
    return {
      catchData: '',
      config: {
        initialFrameWidth: null,
        initialFrameHeight: 300
      }
    }
  },
  mounted () {
    this.ue = window.UE.getEditor('editor', this.config)
  }
}
</script>
<style lang="less" scoped>
.editors {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}
.w-e-text{ display: none}
</style>
